package preprocessor;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.sql.Statement;

public class UpdateDataBase {
	
	
	public static void main( String [] arg) throws ClassNotFoundException, SQLException
	{
		
		Class.forName("org.sqlite.JDBC");
	    Connection conn =
	      DriverManager.getConnection("jdbc:sqlite:test.db");
		
	    Statement stat = conn.createStatement();
	    
	    //stat.executeUpdate("drop table if exists Links;");
	    
	    stat.executeQuery(" ALTER TABLE Links ADD new_col INTEGER");
	    
	    conn.close();
	    
		
	}

}
